<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Vue组件使用中的细节点</title>
    <script src="./vue.js"></script>
</head>

<body>
    <div id='app'>
        <table>
            <tbody>
                <tr is='row'></tr>
            </tbody>
        </table>
    </div>

    <script>
        Vue.component('row', {
            template: '<tr><td>this is a row</td></tr>'
        })

        var vm = new Vue({
            el: '#app',
        })
    </script>
</body>

</html>